const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => {
    return "test"
  },
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  userId: state => state.user.userId,
  // 动态路由
  permission_routes: state => state.permission.routes
}
export default getters
